php iterate array keys

34

php iterate array keys -

foreach ($arr as $key => $value) {
    echo "{$key} => {$value} ";
    print_r($arr);
}

Comments

Submit
0 Comments